package com.retail.order.enums;

/**
 * @author administrator
 * @Description 系统类型枚举
 * @date 2022 - 10 - 13 22:32:45
 */
public enum VerifyTypeEnums {

    /**
     * 菜单类型为菜单
     */
    PERSON_VERIFY(0, "商户"),
    SHOP_VERIFY(1, "店铺权益卡"),
    ORDER_MONTH_VERIFY(2, "订单(月)"),
    ORDER_TUIJIAN_VERIFY(4, "区域合伙人推荐佣金(月)"),
    ORDER_YEAR_VERIFY(3, "订单(年)")
    ;

    private Integer value;

    private String label;

    VerifyTypeEnums(Integer value, String label) {
        this.value = value;
        this.label = label;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public static String getStatusValues(Integer value) {
        VerifyTypeEnums[] enums = VerifyTypeEnums.values();
        for (VerifyTypeEnums e1 : enums) {
            if (e1.getValue().equals(value)) {
                return e1.getLabel();
            }
        }
        return "";
    }
}
